<?php session_start(); ?>
<?php
    if(isset($_SESSION['user']["name"]))
    {
        unset($_SESSION['user']);
        header('Location:/projectshopqa/index-.php');
    }
?>